package com.bupt.smart.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.bupt.smart.smart.R;

/**
 * Created by WWL on 2016/6/10.
 */
public class CommentActivity extends AppCompatActivity{
    Intent getIntent = null;
    protected void onCreate( Bundle savedInstanceState){
       super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_comment);
        ImageView comment_back = (ImageView)findViewById(R.id.comment_back);
        getIntent = this.getIntent();
        //上方跳转返回订单页面
        comment_back.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(CommentActivity.this,OrderActivity.class);
                intent.putExtras(getIntent);
                CommentActivity.this.startActivity(intent);
            }
        } );
    }

}
